package itdep.ui.pages.address;

import itdep.domain.address.CityType;
import itdep.services.address.CityTypeService;
import itdep.ui.base.pages.AbbrevEntityPage;
import org.apache.tapestry5.ioc.annotations.Inject;

/**
 * @author Ivan Khalopik
 * @version $Revision: 56 $ $Date: 2010-07-07 10:56:24 +0000 (Wed, 07 Jul 2010) $
 */
public class CityTypes extends AbbrevEntityPage<CityType> {

	@Inject
	private CityTypeService cityTypeService;

	@Override
	protected CityTypeService getEntityService() {
		return cityTypeService;
	}

	@Override
	public String getTitle() {
		return getMessages().get("cityTypes-title");
	}
}
